# message(STATUS "Configuring CommonData...")
# add_library(CommonData_lib STATIC CommonData.cxx)
# target_link_libraries(CommonData_lib fastcdr fastrtps)

add_executable(simple_publisher CommonDataPubSubTypes.cxx CommonDataPublisher.cxx CommonDataSubscriber.cxx CommonDataPubSubMain.cxx)
target_link_libraries(simple_publisher
	fastcdr
	fastrtps
    CommonData_lib
	protobuf
	addressbook)


install(
	TARGETS simple_publisher
	DESTINATION RUNTIME
)
# install(
# 	TARGETS CommonData_lib
# 	DESTINATION LIBRARY
# )